package com.fengzhi.web.dao.ssh;

import com.fengzhi.web.dao.core.IGenericDao;
import com.fengzhi.web.entity.TUser;

public interface IUserDao extends IGenericDao<TUser> {
	/**
	 * 
	 * @Description: TODO(根据用户名获取用户数据)
	 * @param username
	 * @return
	 */
	TUser findUserByUsername(String username);

	/**
	 * 
	 * @Description: TODO(添加用户数据)
	 * @param user
	 */
	void addUser(TUser user);

}
